#!/usr/bin/env bash

if [ ! -f install ]; then
    echo 'install must be run within its container folder.' 1>&2
    exit 1
fi

# backup GOPATH
GOPATH_BACKUP="$GOPATH"

CUR_DIR=`pwd`
export GOPATH="/Users/xyhp/Code/git/gopher"

bee run

# restore GOPATH
export GOPATH="$GOPATH_BACKUP"

echo 'Finished!'